package com.example.demo.mapper;

import com.example.demo.domain.SysAgentInfo;
import com.example.demo.domain.SysAgentInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysAgentInfoMapper {
    long countByExample(SysAgentInfoExample example);

    int deleteByExample(SysAgentInfoExample example);

    int deleteByPrimaryKey(Long userId);

    int insert(SysAgentInfo record);

    int insertSelective(SysAgentInfo record);

    List<SysAgentInfo> selectByExample(SysAgentInfoExample example);

    SysAgentInfo selectByPrimaryKey(Long userId);

    int updateByExampleSelective(@Param("record") SysAgentInfo record, @Param("example") SysAgentInfoExample example);

    int updateByExample(@Param("record") SysAgentInfo record, @Param("example") SysAgentInfoExample example);

    int updateByPrimaryKeySelective(SysAgentInfo record);

    int updateByPrimaryKey(SysAgentInfo record);
}